

import request from "@/service/axios/index";

const prodListApi = {
    // 查询行业类目列表
    getProdList: (data) => {
        return request.post({ url: '/product/list/getList', data })
    },
    // 删除
    deleteProd: (id) => {
        return request.delete({ url: '/product/list/delete?id=' + id })
    },
    //新增
    createProd: (data) => {
        return request.post({ url: '/product/list/create', data })
    },
    //详情
    getProdDetail: (id) => {
        return request.get({ url: '/product/list/get?id=' + id })
    }
}
export default prodListApi;